package org.example.tms.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;
import org.example.tms.pojo.Student;

import java.util.List;
import java.util.Map;

@Mapper
public interface StudentMapper extends BaseMapper<Student> {
    @MapKey("degree")
     List<Map> coutStudentDegreeData();
    @MapKey("student")
    List<Map<String,Object>> coutStudentData();
}
